package me.dqn.cloudfeign.service;

import org.springframework.stereotype.Component;

/**
 * @author dqn
 * created at 2018/11/8 - 17:28
 */
@Component
public class SayHelloHystrixFallback implements SayHello {
    @Override
    public String hiToSomeone(String name) {
        return "say hello to " + name + " error [Hystrix]";
    }
}
